package r25.room;

import r25.character.ICharacter;
import r25.engine.Event;
import r25.engine.IEvent.EVENT;
import r25.engine.IGameInstance;
import r25.engine.IGameInstance.CHARACTER_ACTION;

/**
 * Slide any line of the board (except the central ones) in the direction of
 * your choice. Slide all the rooms one rank following the same process as for
 * the Control action (see Actions - Control).
 * 
 * @author u211354
 * 
 */
public class ControlChamber extends AbstractRoom {

	@Override
	public CHARACTER_ACTION onEnter(IGameInstance gi, ICharacter character)
			throws Exception {
		super.onEnter(gi, character);

		gi.pushEvent(new Event(EVENT.EXTRA_CONTROL_ACTION, this, character));
		return CHARACTER_ACTION.CONTROL;
	}
}
